from flask import Blueprint, render_template

case_router = Blueprint('case', __name__, url_prefix='/case')


@case_router.route('/add', methods=['post'])
def add_good():
    return {'code': 0, 'msg': '商品添加成功'}


@case_router.route('/modify', methods=['get', 'post'])
def modify_good():
    return {'code': 0, 'msg': '商品修改成功'}


@case_router.route('/delete', methods=['post'])
def del_good():
    return {'code': 0, 'msg': '商品删除成功'}


@case_router.route('/cases', methods=['get'])
def cases():
    return {'code': 0, 'msg': 'success'}



